package com.tree.thrive.adapter.http.brand;

import com.tree.thrive.adapter.http.brand.response.BrandDTOItem;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Auther: cheng.tang
 * @Date: 2023/8/30
 * @Description: top-tree
 */
@FeignClient(name = "BrandFeign", url = "https://m.gongbangbang.com")
public interface BrandFeign {

    @Schema(title = "获取品牌列表", description = "移动端支持划动和点击，点击时字母会有跳跃，这种情况没有好的处理办法")
    @GetMapping("/api/gateway/website/zkhProBrandController/brands")
    List<BrandDTOItem> listAllBrands();

}
